package com.cxfpro.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: xuanfei.Chen
 * @Date: 2018/12/7 11:21
 * @Description:
 */
@RestController
public class TestController {

  @Value("${cxf}")
  private String name;

  @RequestMapping(method = RequestMethod.GET, value = "/getName")
  public String getName(){
    return this.name;
  }

}
